#!/bin/bash
HOUR=$1
USER=$2
PASS=$3
hour=$4
echo "$HOUR,$USER,$PASS,$HOUR"
lftp -u $USER,$PASS sftp://$HOST<<END_SFTP
lcd /alidata1/shell/logger/pv
cd  /usr/local/logs/pv
mget pv.log.$HOUR
